package com.zyw.zhuangdian.service;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.in.SubscribeDtoIn;
import com.zyw.zhuangdian.pojo.out.SubscribeDtoOut;
import com.zyw.zhuangdian.pojo.out.UserDtoOut;

import java.util.List;

public interface SubscribeService {
    Resp<Void> addSubscribe(SubscribeDtoIn in);
    Resp<Void> updateSubscribe(SubscribeDtoIn in);
    Resp<Void> deleteSubscribe(SubscribeDtoIn in);
    Resp<List<UserDtoOut>> listSubscribes(SubscribeDtoIn in);
    Resp<List<UserDtoOut>> listSubscribers(SubscribeDtoIn in);
    Resp<Integer> listSubscribesCount(SubscribeDtoIn in);
}
